package cn.tedu.online.day04;

public class LambdaDemo {
    public static void main(String[] args) {
        Aoo aoo = new Aoo() {
            @Override
            public int test(int b , int a) {
                System.out.println("匿名内部类重写抽象方法");
                return 5;
            }
        };
        //aoo.test();


        //Aoo aoo1 = ( a, b) -> {
          //  System.out.println(a+"lambda表达式重写!"+b);

        //};

        Aoo aoo2  = (a,b) -> a+b;
        System.out.println(aoo2.test(3,5));
    }
}
